/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1remixcalapp;

/**
 *
 * @author apple
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Expression expression=new Expression();
        NumSign ns1=new NumSign("2", '+');
        NumSign ns2=new NumSign("3", '*');
        NumSign ns3=new NumSign("5", '-');
        NumSign ns4=new NumSign("6", '=');
        expression.add(ns1);
        expression.add(ns2);
        expression.add(ns3);
        expression.add(ns4);
        System.out.println(expression.toString());
        System.out.println(expression.getResult());
    }
    
}
